package com.guofen.service.shlj;


import com.guofen.pojo.ShljAbnormalGarbage;

import java.util.Map;

public interface AbnormalGarbageService {
    //增
    boolean addForm(String wagon_number,
                    String garbage_source,
                    String garbage_type,
                    Double garbage_number,
                    String recording_person,
                    String remarks);

    public Map<String, Object> get(int pageSize, int currentPage);

    public Map<String, Object> getByTime(int pageSize, int currentPage, long startTime, long endTime);

    public int delete(int id);

    public int update(ShljAbnormalGarbage record);

    boolean addFormExcel(String date,
                    String wagon_number,
                    String garbage_source,
                    String garbage_type,
                    Double garbage_number,
                    String garbage_unit,
                    String recording_person,
                    String remarks);

    ShljAbnormalGarbage findForm();
}
